package com.oxymore.jbnetapi.core;

public class ApiException extends Exception {
    private String requestUrl;
    private String status;
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    public ApiException() {
        super();
    }

    public ApiException(String status, String message, String requestUrl) {
        super(message);
        this.requestUrl = requestUrl;
        this.status = status;
    }

    public ApiException(String message, Throwable cause, String requestUrl) {
        super(message, cause);
        this.requestUrl = requestUrl;
    }

    public ApiException(String message, String requestUrl) {
        super(message);
        this.requestUrl = requestUrl;
    }

    public ApiException(String message) {
        super(message);
    }

    public ApiException(Throwable cause) {
        super(cause);
    }

    /**
     * @return the requestUrl
     */
    public String getRequestUrl() {
        return requestUrl;
    }

    /**
     * @return the status
     */
    public String getStatus() {
        return status;
    }
}
